package com.easycoding.ums.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.easycoding.framework.web.controller.BaseController;
import com.easycoding.ums.context.WebUserContext;

@Controller
public class UserManagerController extends BaseController {
	
	@RequestMapping("/login")
	public String login(){
		if(WebUserContext.userIsSignon())
			return "index";
		else
			return "login";
	}

}
